<template>
  <el-row type="flex" justify="space-between" align="middle" style="height:40px; width: 100%;;">
    <el-col>
      <span>{{ treeNode.name }} </span>
    </el-col>
    <el-col>
      <el-row type="flex" justify="end">
        <span style="margin-right:50px">{{ treeNode.manager }}</span>
        <el-dropdown>
          <span class="el-dropdown-link">
            操作<i class="el-icon-arrow-down el-icon--right" />
          </span>
          <el-dropdown-menu slot="dropdown">
            <slot></slot>
          </el-dropdown-menu>
        </el-dropdown>
      </el-row>
    </el-col>
  </el-row>
</template>

<script>
export default {
  name: 'TreeTools',
  components: {},
  props: {
    treeNode: {
      type: Object,
      required: true
    }
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {}
}
</script>

<style lang="less" scoped>
</style>
